@import "./config.scss";

// ====== 底部导航栏 ======
.m-bottom--nav {
  position: fixed;
  display: flex;
  justify-content: space-around;
  bottom: 0;
  width: 750px;
  height: 100px;
  background: #fff;
  border-top: 1px solid $borderColor;

  .node-item {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    .iconfont {
      font-size: 48px;
      transition: all ease-out 200ms;
    }
  }

  .active {
    color: $themeColor;
    font-weight: 500;
    .iconfont {
      font-size: 52px;
    }
  }
}

// ======  首页   ======
// 轮播图
.m-swiper-outbox {
  display: flex;
  align-items: center;
  width: 750px;
  height: 350px;
  margin: 0 auto;
  background: #ca4041;
  img {
    display: block;
    width: 100%;
  }
}
// 通知栏
.m-notifition {
  display: flex;
  align-items: center;
  height: 60px;
  background: #fff;
  padding: 0 20px;
  .iconfont {
    font-size: 32px;
  }
  span {
    flex: 1;
    font-size: 26px;
    margin-left: 16px;
    @include single;
  }
}

// 我的收益
.m-income-box {
  width: 680px;
  height: 260px;
  margin: 30px auto;
  // background-image: linear-gradient(90deg, #4a87fb 0%, #b381fd 100%);
  background: #fff;
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  padding: 25px 40px;

  .title {
    font-size: 32px;
    color: rgba(0, 0, 0, 0.6);
  }

  .value {
    display: flex;
    align-items: center;
    font-size: 70px;
    color: #233243;
    font-weight: 500;
    span {
      font-size: 32px;
      margin-left: 20px;
      font-weight: normal;
    }
  }

  .use-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    color: #8993a4;
    font-size: 28px;

    .iconfont {
      font-size: 30px;
      margin-left: 4px;
    }
  }
}

// 任务优选
.task-title {
  width: 710px;
  margin: 20px auto 0;
  font-size: 32px;
  color: #233243;
}

.task-item-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 690px;
  margin: 0 auto;
  padding-bottom: 180px;

  .task-item {
    width: 330px;
    height: 200px;
    margin-top: 15px;
    background-image: linear-gradient(90deg, #fad961 0%, #f7751c 100%);
    border-radius: 10px;

    .node-title{
      font-size: 32px;
      color: #fff;
      padding: 40px 0 0 30px;
    }

    .node-info{
      font-size: 26px;
      color: rgba(255, 255, 255, 0.6);
      padding: 6px 30px;
    }

    &:nth-child(2) {
      background-image: linear-gradient(90deg, #3023ae 0%, #c86dd7 100%);
    }

    &:nth-child(3) {
      background-image: linear-gradient(90deg, #3023ae 0%, #6caeff 100%);
    }

    &:nth-child(4){
      background-image: linear-gradient(90deg, #85F3D3 0%, #24B8A7 100%);
    }
  }
}

// ======= 匹配区 =========
.m-task-match {
  padding-bottom: 180px;
  .nav-node {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 710px;
    height: 160px;
    background: #fff;
    margin: 10px auto 0;
    box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 0 30px;
    transition: all 200ms;

    .node-left {
      display: flex;
      align-items: center;
      .iconfont {
        font-size: 58px;
        color: $themeColor;
      }
      .node-info {
        display: flex;
        flex-direction: column;
        margin-left: 40px;
        em {
          font-style: normal;
          font-weight: 500;
          font-size: 32px;
        }
        span {
          font-size: 26px;
          color: $infoColor;
        }
      }
    }

    .icon-arrow-right-s-line {
      font-size: 40px;
      color: $infoColor;
    }

    &:active {
      opacity: 0.6;
      box-shadow: none;
    }
  }

  .match-button {
    display: block;
    width: 690px;
    height: 90px;
    border-radius: 90px;
    background: $themeColor;
    color: #fff;
    font-size: 32px;
    letter-spacing: 4px;
    text-indent: 4px;
    margin: 80px auto 0;
    &:active {
      opacity: 0.8;
    }
  }
}

// ===== 个人中心 =====
.m-personal_box {
  padding-bottom: 180px;
  .item-node {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    border-bottom: 1px solid $borderColor;
    background: #fff;
    font-size: 30px;
    font-weight: 400;
    padding: 0 30px;

    .node-info {
      display: flex;
      align-items: center;
      .iconfont {
        font-size: 36px;
        color: $themeColor;
      }
      span {
        margin-left: 22px;
      }
    }
    .icon-arrow-right-s-line {
      font-size: 38px;
      color: $infoColor;
    }

    &:active {
      opacity: 0.7;
    }
    &:first-child {
      margin-top: 20px;
      border-top: 1px solid $borderColor;
    }
    &:nth-child(4),
    &:nth-child(5) {
      margin-top: 12px;
      border-top: 1px solid $borderColor;
    }
    &:nth-child(8) {
      margin-top: 30px;
      border-top: 1px solid $borderColor;
    }
  }
}
